﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using Economo.Services.BusinessEntities;

namespace Economo.Services.MessageContracts
{
    [MessageContract]
    public class GetAccountByIdRequest
    {
        [MessageBodyMember]
        public Int16 Id { get; set; }
    }

    [MessageContract]
    public class GetAccountByIdResponse
    {
        [MessageBodyMember]
        public Account Account { get; set; }
    }
    [MessageContract]
    public class UpdateAccountRequest
    {
        [MessageBodyMember]
        public Account Account { get; set; }
    }

    [MessageContract]
    public class DeleteAccountByIdRequest
    {
        [MessageBodyMember]
        public byte AccountId { get; set; }
    }


    [MessageContract]
    public class InsertAccountRequest
    {
        [MessageBodyMember]
        public Account Account { get; set; }
    }
    [MessageContract]
    public class InsertAccountResponse
    {
        [MessageBodyMember]
        public Int16 AccountId { get; set; }
    }
}
